User Guides > PCC with Legacy Services (Proxy Server) > How To's for PCC with Legacy Services (Proxy Server) > How To's - for the Web Tier > Generating Images Using the Web Service |
Example 1:
To create a .png image of page 1 of sample.doc:
http://localhost:18680/convert2swf?source=/path/to/samplecode/sample.doc&target=/path/to/tempcache/sample.png&pages=1
To create a .bmp image of page 1 of sample.doc:
http://localhost:18680/convert2swf?source=/path/to/samplecode/sample.doc&target=/path/to/tempcache/sample.bmp&pages=1
Example 2:
To create a .png image of all pages of sample.doc:
http://localhost:18680/convert2swf?source=/path/to/samplecode/sample.doc&target=/path/to/tempcache/sample.png
To create a .tiff image of all pages of sample.doc:
http://localhost:18680/convert2swf?source=/path/to/samplecode/sample.doc&target=/path/to/tempcache/sample.tiff
Example 3:
The Watermark feature requires a full license key. |
To create an image of all pages of sample.doc. Also add watermark “Approved” on each image:
http://localhost:18680/convert2swf?source=/path/to/samplecode/sample.doc&wtmtext=Approved&wtmfont=Helvetica&wtmsize=100&wtmalpha=10&target=/path/to/tempcache/test.png